

Pod::Spec.new do |spec|

  spec.name         = "RuiBasis"
  spec.version      = "0.0.7"
  spec.summary      = "A short description of Basis."
  spec.homepage     = "https://gitee.com/sharui/SwiftBasis"
  spec.author             = { "sharui" => "sr_sharui@qq.com" }
  spec.license      = { :type => "MIT", :file => "LICENSE" }

  spec.source       = { :git => "https://gitee.com/sharui/SwiftBasis.git", :tag => "#{spec.version}" }
  spec.requires_arc = true # 是否启用ARC
  spec.platform     = :ios, "10.0"
  # spec.frameworks   = "UIKit", "Foundation" #支持的框架
  # spec.dependency   = "AFNetworking" # 依赖库
  spec.dependency "SnapKit", "~> 5.0.0"
  spec.dependency "RxSwift", "~> 5"
  spec.dependency "RxCocoa", "~> 5"
  spec.dependency "Kingfisher", "~> 5.13.3"
  spec.dependency "Moya", "~> 13.0"
  spec.dependency "HandyJSON", "~> 5.0.1"
  spec.dependency "MBProgressHUD", "~> 1.2.0"
  spec.dependency "URLNavigator"
  spec.dependency "Starscream", "~> 4.0.0"

  spec.source_files  = "RuiBasis/RuiBasis/Classes/**/*.{h,m,swift}"

  spec.resource_bundles = {
    'RuiBasis' => ['RuiBasis/RuiBasis/Classes/**/*.{xib}',
                    'RuiBasis/RuiBasis/*.{xcassets}']
  } 

  # spec.subspec 'WebSorcket' do |ss|
  #   ss.source_files = "CosClub_User/CosClub_User/Classes/WebSorcket/**/*.{h,m,swift}"
  # end

  # spec.subspec 'Route' do |ss|
  #   ss.source_files = "CosClub_User/CosClub_User/Classes/Route/**/*.{h,m,swift}"
  # end

  # spec.subspec 'Base' do |ss|
  #   ss.source_files = "CosClub_User/CosClub_User/Classes/Base/**/*.{h,m,swift}"
  # end

  # spec.subspec 'Tools' do |ss|
  #   ss.source_files = "CosClub_User/CosClub_User/Classes/Tools/**/*.{h,m,swift}"
  # end

  # spec.subspec 'Model' do |ss|
  #   ss.source_files = "CosClub_User/CosClub_User/Classes/Model/**/*.{h,m,swift}"
  # end

  # spec.subspec 'API' do |ss|
  #   ss.source_files = "CosClub_User/CosClub_User/Classes/API/**/*.{h,m,swift}"
  # end

  # spec.subspec 'Transition' do |ss|
  #   ss.source_files = "CosClub_User/CosClub_User/Classes/Transition/**/*.{h,m,swift}"
  # end

  # spec.subspec 'Protocol' do |ss|
  #   ss.source_files = "CosClub_User/CosClub_User/Classes/Protocol/**/*.{h,m,swift}"
  # end

  # spec.subspec 'Theme' do |ss|
  #   ss.source_files = "CosClub_User/CosClub_User/Classes/Theme/**/*.{h,m,swift}"
  # end

end
